-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.9.5
-
Code
-
Classes
- PersistentRuleProcessor
Total Complexity |
103 |
Dependencies |
24 |
Dependents |
1 |
Total lines |
733 |
Lines of code |
402 |
Logical lines of code |
244 |
Comment lines |
161 |
Methods |
25 |
Properties |
13 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
applyRangeDiscounts() |
D |
28 |
37 |
128 |
applyProductAdjustmentWithPrice() |
A |
38 |
12 |
78 |
isCategoryMatched() |
A |
55 |
8 |
20 |
processWithPrice() |
S |
49 |
6 |
32 |
isRuleOptionalMatchedCart() |
S |
63 |
5 |
11 |
__construct() |
S |
57 |
3 |
16 |
applyProductAdjustment() |
S |
60 |
3 |
13 |
isRuleMatchedCart() |
S |
64 |
3 |
11 |
addAutoAddProducts() |
S |
63 |
3 |
10 |
addFreeProducts() |
S |
63 |
3 |
10 |
process() |
S |
62 |
2 |
11 |
applyToCartItem() |
S |
64 |
2 |
10 |
addAutoAdds() |
S |
72 |
2 |
6 |
addGifts() |
S |
72 |
2 |
6 |
applyPriceToCartItem() |
S |
64 |
2 |
10 |
checkLimits() |
S |
80 |
1 |
3 |
matchConditions() |
S |
80 |
1 |
3 |
applyCartAdjustments() |
S |
80 |
1 |
3 |
getStatus() |
S |
82 |
1 |
3 |
withContext() |
S |
81 |
1 |
3 |
getRule() |
S |
82 |
1 |
3 |
applyToCart() |
S |
82 |
1 |
3 |
getLastExecTime() |
S |
82 |
1 |
3 |
isProductMatched() |
S |
82 |
1 |
3 |
checkConditions() |
S |
80 |
1 |
3 |